package org.csu.myblogger.myblogger.service.service;

import org.csu.myblogger.myblogger.commom.CommonResponce;
import org.csu.myblogger.myblogger.vo.AccountVo;
import org.springframework.stereotype.Service;

@Service
public interface AccountService {
    CommonResponce Userlogin(String username,String password);
    CommonResponce Userlogout(String username);
    CommonResponce Register(String username,AccountVo accountVo);
    CommonResponce UpdateUserInfo(AccountVo accountVo,String username);
    CommonResponce DeleteUser(String username);
    CommonResponce getAccountInfo(String username);
}
